using System;
using CastleSample.Entity;

namespace CastleSample.Exceptions
{
    [Serializable]
    public class OrderNotValidException : CastleSampleException
    {
        private OrderErrorItemCollection m_Errors;

        public OrderErrorItemCollection Errors
        {
            get { return m_Errors; }
        }

        public OrderNotValidException(OrderErrorItemCollection errors)
        {
            m_Errors = errors;
        }
    }
}